package cn.tedu.ezhaung_project.controller;

import cn.tedu.ezhaung_project.mapper.DesignerMapper;
import cn.tedu.ezhaung_project.pojo.vo.DesignerSelectVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("/designer/")
public class DesignerController {
    @Autowired(required = false)
    DesignerMapper mapper;
    @RequestMapping("select")
    public List<DesignerSelectVO> select(){
        return mapper.select();
    }
}
